package com.spi.xxjob;

import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
public class JobTask {

//    @ScheduleJob(key = "job:01")
//    @Async("JobServiceExecutor")
//    @Scheduled(cron = "0/5 * * * * ? ")
    public void testJob(){
        System.out.println("开始执行业务逻辑。。。。。");
    }
}
